<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="Robots" content="all" />
<meta name="Googlebot" content="all" />
<meta name="Author" content="内蒙古呼和浩特市第二中学网校" />
<meta name="Copyright" content="内蒙古呼和浩特市第二中学版权所有" />
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">
<link href="{CSS_PATH}public.css" rel="stylesheet" type="text/css" />
<link href="{CSS_PATH}onlineqa.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{JS_PATH}jquery.min.js"></script>
<script type="text/javascript" src="{JS_PATH}jquery.sGallery.js"></script>
<script type="text/javascript" src="{JS_PATH}search_common.js"></script>
</head>
<body>
{template "content","header_common"}
<div id="page">

<div id="boardbox">

<div id="contentbox">

<div id="leftside">
	<span class="notice">
		<span class="title_bg_r"></span>
		<span class="title_bg_l"></span>
		<h3><a href="http://bbs.2zwx.com/forum.php?mod=announcement&id=1">更多</a>公告</h3>
	</span>
	<span class="datalist">
		<ul>
		 <script type="text/javascript" src="http://bbs.2zwx.com/api.php?mod=js&bid=70"></script>		
                               </ul>
			</span>
	
	<span class="ranking">
		<span class="title_bg_r"></span>
		<span class="title_bg_l"></span>
		<h3>解答排行</h3>
	</span>
	<span class="datalist">
<ul>
	{pc:content  action="lists" catid="29" order="id DESC" num="10"}
	{loop $data $r}
	<li><a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut($r[title],40,'')}</a></li>
	{/loop}
	{/pc}
</ul>	</span>

<script type="text/javascript" src="http://bbs.2zwx.com/api.php?mod=js&bid=69"></script>
<!--会员积分排行-->
<script type="text/javascript" src="http://bbs.2zwx.com/api.php?mod=js&bid=68"></script>
</div><!-- css id leftside end -->

<div id="middle">
	<span class="ask">
		<b>欢迎来到在线答疑，您可以直接提问或者尝试在线答疑！</b>
		<a href="http://bbs.2zwx.com/forum.php?mod=forumdisplay&fid=2" target="_blank">
		<button class="ask" onclick="location.href='http://bbs.2zwx.com/forum.php'"></button>
		</a>
		<a href="http://bbs.2zwx.com/forum.php?mod=forumdisplay&fid=2&filter=typeid&typeid=1" target="_blank">
		<button class="answ" onclick="location.href='http://bbs.2zwx.com/forum.php'"></button>
		</a>
	</span>
	<form action="{APP_PATH}index.php" method="get" target="_blank">
		<input type="hidden" name="m" value="search"/>
		<input type="hidden" name="c" value="index"/>
		<input type="hidden" name="a" value="init"/>
		<input type="hidden" name="typeid" value="{$typeid}" id="typeid"/>
		<input type="hidden" name="siteid" value="{$siteid}" id="siteid"/>
		<input type="text" name="q" class="keyword" value="请输入搜索关键词" style="color:#CCC;" onfocus="if(this.value=='请输入搜索关键词'){this.value='';this.style.color='#000;';}" onblur="if(this.value==''){this.value='请输入搜索关键词';this.style.color='#CCC';}" />
		<input type="submit" class="subtn" value="">
	</form>
	
	<div class="newq">
		<h3><a href="index.php?m=content&c=index&a=lists&catid=29">更多</a><span>提问广场</span></h3>
		<dl>
			<dt>
				<span class="state">状态</span>
				<span class="qclass">提问同学</span>
				<span class="qtime">提问时间</span>
				最新问题
			</dt>
			{pc:content  action="lists" catid="29" order="id DESC" num="10"}
			{loop $data $r}
			<dd>
				<span class="state"><img src="{IMG_PATH}2zwx/second/dot_{if $r[faqstatus]}01{else}02{/if}.gif"></span>
				<span class="class">{$r['username']}</span>
				<span class="time">{date('Y-m-d',$r['inputtime'])}</span>
				<a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut($r[title],60,'')}</a>
			</dd>
			{/loop}
			{/pc}
		</dl>
	</div>
	
	<div class="essence">
		<h3><a href="index.php?m=content&c=index&a=lists&catid=30">更多</a><span>经典答疑</span></h3>
		<dl>
			<dt>
				<span class="state">状态</span>
				<span class="qclass">提问同学</span>
				<span class="qtime">提问时间</span>
				最新问题
			</dt>
			{pc:content  action="lists" catid="30" order="id DESC" num="10"}
			{loop $data $r}
			<dd>
				<span class="state"><img src="{IMG_PATH}2zwx/second/dot_{if $r[faqstatus]}01{else}02{/if}.gif"></span>
				<span class="class">{$r['username']}</span>
				<span class="time">{date('Y-m-d',$r['inputtime'])}</span>
				<a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut($r[title],60,'')}</a>
			</dd>
			{/loop}
			{/pc}
		</dl>
	</div>
</div><!-- css id middle end -->

<div id="rightside">
	<span class="ad">
		<a href="http://bbs.2zwx.com/forum.php" title="在线答疑" target="_self"><img alt="在线答疑" title="在线答疑" src="{IMG_PATH}2zwx/second/onlineqa_ad.jpg"></a>
	</span>
	
	<span class="help">
		<h3>在线答疑</h3>
		{pc:content  action="lists" catid="31" order="id DESC" num="10"}
		<ul>
		{loop $data $r}
		<li>
			<a href="{$r[url]}" title="{$r[title]}" target="_blank">{str_cut($r[title],60,'')}</a>
		</li>
		{/loop}
		</ul>
		{/pc}
	</span>
</div><!-- css id rightside end -->
</div><!-- css id boardbox end -->
</div>
{template "content","footer_cat"}